<div class="content_box_large">
%{if $context->isUserLoggedIn()}
	<p><b class="green">User panel</b></p>
	<br/>
	<br/>
	
	<form action="" method="POST" name="panelForm" id="panelForm">
		<fieldset>
			<legend>%{trn key="user_account_info"}</legend>
			<input type="hidden" name="user[id]" value="%{$user->getId()}" />
			
			<label for="panelForm_email">%{trn key="user_email"}:</label>
			<input type="text" name="user[email]" id="panelForm_email" value="%{$user->getEmail()}" readonly="readonly" class="large"/>
			
			<label for="panelForm_name">%{trn key="user_name"}:</label>
			<input type="text" name="user[name]" id="panelForm_name" value="%{$user->getName()}" class="large"/>
			
			<label for="panelForm_phone">%{trn key="user_phone"}:</label>
			<input type="text" name="user[phone]" id="panelForm_phone" value="%{$user->getPhone()}" class="large"/>		
			<br/><br/>
			<input type="submit" name="method:save" id="panelForm_submit" value="%{trn key="button_submit"}"/>
			&nbsp;
			<input type="button" name="cancel" id="panelForm_cancel" value="%{trn key="button_cancel"}" onclick="history.go(-1);"/>
		</fieldset>
	</form>	

%{/if}
</div> 
